﻿using ManageSystem.Model;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace ManageSystem.IRepository
{
    public interface IIncomeStreamRepository: IBaseRepository<IncomeStream>
    {
        // 查询项目的收入流水
        public Task<List<IncomeStream>> QueryIncomeStreamByProjectGuid(string projectGuid);

        // 删除项目时删除与其相关的收入流水
        public Task<int> DeleteIncomeStreamByProjectGuid(string projectGuid);
    }
}
